package com.jumi.microservice.constant;

/**
 *库存类型枚举
 *
 * @author Administrator
 */
public enum InventoryType {

    REAL_INVENTORY(1,"真实库存"),
    VIRTUAL_INVENTORY(2,"预售库存");

    private int code;

    private String desc;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    InventoryType(int code, String desc){
        this.code = code;
        this.desc = desc;
    }
}
